<tr class="parse_variants">
<td><input type="hidden" name="variants[<?=$index?>][id]" value="<?=htmlspecialchars($this->id,ENT_COMPAT,"UTF-8")?>"/>
<input type="text" name="variants[<?=$index?>][name]" value="<?=htmlspecialchars($this->name,ENT_COMPAT,"UTF-8")?>"/>
</td><td>    <input type="text" name="variants[<?=$index?>][price]" value="<?=htmlspecialchars($this->price,ENT_COMPAT,"UTF-8")?>"/>
    </td><td><input type="text" name="variants[<?=$index?>][article]" value="<?=htmlspecialchars($this->article,ENT_COMPAT,"UTF-8")?>"/>
    </td><td width="250">

<?if (!empty($this->image)):?>
<img src="/thumb.php?id_options=<?=$this->id?>&type=small"/>
<?endif;?>

<br/>


<input type="file" style="width:250px" name="variants[<?=$index?>][image_src]" onchange="documentDirty=true;" />

    </td><td><textarea name="variants[<?=$index?>][description]"><?=htmlspecialchars($this->description,ENT_COMPAT,"UTF-8")?></textarea>
</td><td>
    <label><input type="checkbox" name="variants[<?=$index?>][hide]" value="1" <?=($this->hide==1)?"checked='checked'":"" ?> /> Скрыть</label>
</td><td>
    <input type="button" onclick="delete_this_row2(this)" value="Удалить"/>
</td>
</tr>